package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureReimbursementOtherRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureReimbursementOtherPo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureReimbursementOtherDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureReimbursementOtherDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureReimbursementOtherDomainImpl extends BaseDomainImpl<ExpenditureReimbursementOtherDto, ExpenditureReimbursementOtherPo> implements ExpenditureReimbursementOtherDomain {

    @Resource
    private ExpenditureReimbursementOtherRepository expenditureReimbursementOtherRepository;

    @Override
    public BaseRepository<ExpenditureReimbursementOtherPo> getMapper() {
        return expenditureReimbursementOtherRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureReimbursementOtherPo>> getRepositoryClass() {
        return ExpenditureReimbursementOtherRepository.class;
    }

}
